﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Parameters.cs" company="Spenta Consulting">
//   (c) Copyright 2011
// </copyright>
// <summary>
//   Common application parameters
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Spenta.StreetCare.Silverlight.Globals
{
    /// <summary>
    /// Common application parameters
    /// </summary>
    public class Parameters
    {
        /// <summary>
        /// Gets the customer ID.
        /// </summary>
        /// <value>The customer ID.</value>
        public static int CustomerID
        {
            get { return int.Parse(App.Current.Parameters["site"] ?? "1"); }
        }

        /// <summary>
        /// Gets or sets the user ID.
        /// </summary>
        /// <value>The user ID.</value>
        public static int UserID { get; set; }
    }
}
